package com.lwq.userservice.mapper;

import com.lwq.userservice.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Auther: 陆
 * @Date: 2024/01/30/10:59
 * @Description:
 */
@Mapper
public interface UserMapper {
    @Select("select id, username, address  from cloud_user.tb_user where id = #{id}")
    User select(long id);
}
